forked from CensoredUsername/unrpyc
-
Notifications
You must be signed in to change notification settings - Fork 6
33 lines (29 loc) · 932 Bytes
/
python-app.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Test build and run tests
on:
push:
branches: [ master, dev ]
pull_request:
branches: [ master, dev ]
jobs:
tests-py2:
name: Runs tests that require python 2
runs-on: ubuntu-latest
container:
image: python:2.7.18-buster
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Test by decompiling a script and building un.rpyc
run: |
./unrpyc.py --clobber testcases/script.rpyc
diff -u testcases/script.orig.rpy testcases/script.rpy
cd un.rpyc;
# ./compile.py -p 1
cd ..