Skip to content

Commit 758b6bf

Browse files
committed
Enable GitHub Actions
This patch is an attempt to enable GitHub Actions. It is a reduced implementation of the patch in PR 250, and intentionally doesn't run tests. References: * RDFLib#250 Disclaimer: Participation by NIST in the creation of the documentation of mentioned software is not intended to imply a recommendation or endorsement by the National Institute of Standards and Technology, nor is it intended to imply that any specific software is necessarily the best available for the purpose. Signed-off-by: Alex Nelson <[email protected]>
1 parent 10589c6 commit 758b6bf

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

.github/workflows/ci.yml

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Portions of this file contributed by NIST are governed by the
2+
# following statement:
3+
#
4+
# This software was developed at the National Institute of Standards
5+
# and Technology by employees of the Federal Government in the course
6+
# of their official duties. Pursuant to Title 17 Section 105 of the
7+
# United States Code, this software is not subject to copyright
8+
# protection within the United States. NIST assumes no responsibility
9+
# whatsoever for its use by other parties, and makes no guarantees,
10+
# expressed or implied, about its quality, reliability, or any other
11+
# characteristic.
12+
#
13+
# We would appreciate acknowledgement if the software is used.
14+
15+
name: Continuous Integration
16+
17+
on:
18+
push:
19+
branches:
20+
- master
21+
pull_request:
22+
branches:
23+
- master
24+
25+
jobs:
26+
build:
27+
28+
runs-on: ubuntu-latest
29+
strategy:
30+
matrix:
31+
python-version:
32+
- '3.8'
33+
- '3.12'
34+
35+
steps:
36+
- uses: actions/checkout@v4
37+
38+
- name: Set up Python ${{ matrix.python-version }}
39+
uses: actions/setup-python@v5
40+
with:
41+
python-version: ${{ matrix.python-version }}
42+
43+
- name: Run tests
44+
run: |
45+
python3 -m venv venv
46+
source venv/bin/activate
47+
pip install poetry

0 commit comments

Comments
 (0)